Skip to content

[Driver][NFC][FPGA] Remove remaining FPGA offload support in driver #18087

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

mdtoguchi
Copy link
Contributor

Following 491915b, remove the remaining items in the driver that support FPGA.

Small exceptions to this include any specific diagnostic behaviors that inform the user of option usage that is not supported due to the removal of FPGA. Cleanup of those items can occur following a later major release. The extension enabling options for the sycl-post-link tool specific for fpga also remain for now.

Following intel@491915b, remove the remaining items in the driver that support FPGA.

Small exceptions to this include any specific diagnostic behaviors that
inform the user of option usage that is not supported due to the removal
of FPGA.  Cleanup of those items can occur following a later major
release.  The extension enabling options for the `sycl-post-link` tool
specific for fpga also remain for now.
@mdtoguchi mdtoguchi marked this pull request as ready for review April 18, 2025 17:59
@mdtoguchi mdtoguchi requested review from a team as code owners April 18, 2025 17:59
if (!Args.hasFlag(options::OPT_fsycl_early_optimizations,
options::OPT_fno_sycl_early_optimizations,
!IsFPGASYCLOffloadDevice))
options::OPT_fno_sycl_early_optimizations, true))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we doing 'no early optimizations' for any other target?

Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I know of. But we should keep the logic in case somebody asks for it on the command line.

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. A few gaps still there I think. Might be easier to get it done here.

Thanks

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

Copy link
Contributor

@hchilama hchilama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mdtoguchi
Copy link
Contributor Author

@intel/llvm-gatekeepers , this is ready for merge, thanks!

@sarnex sarnex merged commit 376d388 into intel:sycl Apr 21, 2025
25 checks passed
vinser52 pushed a commit to sergey-semenov/llvm that referenced this pull request Apr 22, 2025
…ntel#18087)

Following
intel@491915b,
remove the remaining items in the driver that support FPGA.

Small exceptions to this include any specific diagnostic behaviors that
inform the user of option usage that is not supported due to the removal
of FPGA. Cleanup of those items can occur following a later major
release. The extension enabling options for the `sycl-post-link` tool
specific for fpga also remain for now.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants